package com.matt.repository.notice;

import com.matt.domain.Notice.NoticeClasses;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;


public interface NoticeClassesRepository extends JpaRepository<NoticeClasses, String> , JpaSpecificationExecutor<NoticeClasses> {

     List<NoticeClasses> findByNoticeId(String noticeId);

     List<NoticeClasses> findByAreaIdAndClassesIdInAndDeleted(String  areaId, String [] classesIds,boolean deleted);



}
